public class Steamer {
    int load;
    int tonnage;
    int speed;
    public Steamer(int load, int tonnage,int speed){
        this.load=load;
        this.tonnage=tonnage;
        this.speed=speed;
        System.out.println("轮船载重："+load+",排水量："+tonnage+"航速"+speed);
    }
    public String qidon(){
        return  "启动";
    }
    public String shache(){
        return  "鸣笛";
    }
    public String tingzhi(){
        return "抛锚";
    }
}
